/* Shared Modern UI typography and surface defaults. */
body.modern-ui-body {
  background: var(--proposal-page, #f7fafc);
  font-family: var(--proposal-font-family, "Gilroy", "Roboto Condensed", Helvetica, Arial, sans-serif);
}

/* Figma text-field placeholder color. Keep this limited to the full Modern UI
 * so classic forms retain their existing palette. */
body.modern-ui-body input::placeholder,
body.modern-ui-body textarea::placeholder,
body.modern-ui-body .select2-selection__placeholder {
  color: var(--proposal-placeholder, #64748b) !important;
  opacity: 1;
}

#curriculog-content.modern-ui {
  background: var(--proposal-bg);
  color: var(--proposal-body);
  font-family: var(--proposal-font-family);
  font-size: var(--proposal-font-size-body);
  font-weight: var(--proposal-font-weight-regular);
  line-height: var(--proposal-line-height-body);
}

#curriculog-content.modern-ui h1,
#curriculog-content.modern-ui h2,
#curriculog-content.modern-ui h3,
#curriculog-content.modern-ui h4 {
  color: var(--proposal-text);
  font-family: var(--proposal-font-family);
  line-height: normal;
}

#curriculog-content.modern-ui h1 {
  font-size: var(--proposal-font-size-heading);
  font-weight: var(--proposal-font-weight-extra-bold);
}

#curriculog-content.modern-ui h2 {
  font-size: 28px;
  font-weight: var(--proposal-font-weight-bold);
}

#curriculog-content.modern-ui h3 {
  font-size: 24px;
  font-weight: var(--proposal-font-weight-extra-bold);
}

#curriculog-content.modern-ui h4 {
  font-size: 18px;
  font-weight: var(--proposal-font-weight-extra-bold);
}

#curriculog-content.modern-ui strong,
#curriculog-content.modern-ui b {
  font-weight: var(--proposal-font-weight-bold);
}

#curriculog-content.modern-ui a,
#curriculog-content.modern-ui button {
  font-family: var(--proposal-font-family);
  font-size: var(--proposal-font-size-body);
  font-weight: var(--proposal-font-weight-semibold);
}

#curriculog-content.modern-ui input,
#curriculog-content.modern-ui select,
#curriculog-content.modern-ui textarea {
  font-family: var(--proposal-font-family);
  font-size: var(--proposal-font-size-body);
  font-weight: var(--proposal-font-weight-medium);
  line-height: var(--proposal-line-height-body);
}
